package com.ruoyi.cderp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购参数设置对象 tbl_purchase_config
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
public class TblPurchaseConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 采购收货单是否关联采购订单 */
    private Integer receiveRequirePurchase;

    /** 采购收货单是否多次关联采购订单 */
    private Integer receiveMultipleRelatePurchase;

    /** 采购退货单是否关联采购收货单 */
    private Integer purchaseReturnRequireReceive;

    /** 采购退货单是否多次关联采购收货单 */
    private Integer purchaseReturnMultipleRelateReceive;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setReceiveRequirePurchase(Integer receiveRequirePurchase) 
    {
        this.receiveRequirePurchase = receiveRequirePurchase;
    }

    public Integer getReceiveRequirePurchase() 
    {
        return receiveRequirePurchase;
    }
    public void setReceiveMultipleRelatePurchase(Integer receiveMultipleRelatePurchase) 
    {
        this.receiveMultipleRelatePurchase = receiveMultipleRelatePurchase;
    }

    public Integer getReceiveMultipleRelatePurchase() 
    {
        return receiveMultipleRelatePurchase;
    }
    public void setPurchaseReturnRequireReceive(Integer purchaseReturnRequireReceive) 
    {
        this.purchaseReturnRequireReceive = purchaseReturnRequireReceive;
    }

    public Integer getPurchaseReturnRequireReceive() 
    {
        return purchaseReturnRequireReceive;
    }
    public void setPurchaseReturnMultipleRelateReceive(Integer purchaseReturnMultipleRelateReceive) 
    {
        this.purchaseReturnMultipleRelateReceive = purchaseReturnMultipleRelateReceive;
    }

    public Integer getPurchaseReturnMultipleRelateReceive() 
    {
        return purchaseReturnMultipleRelateReceive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("receiveRequirePurchase", getReceiveRequirePurchase())
            .append("receiveMultipleRelatePurchase", getReceiveMultipleRelatePurchase())
            .append("purchaseReturnRequireReceive", getPurchaseReturnRequireReceive())
            .append("purchaseReturnMultipleRelateReceive", getPurchaseReturnMultipleRelateReceive())
            .toString();
    }
}
